package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 通知/法规实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Inform")
public class Inform extends BaseModel {
    @PrimaryKey
    @Field("InformCode")
    private String informCode;
    @Field("RealName")
    private String realName;
    @Field("UserName")
    private String userName;
    @Field("Title")
    private String title;
    @Field("Content")
    private String content;
    @Field("Unread")
    private String unread;
    @Field("RecipientType")
    private String recipientType;
    @Field("Attachment")
    private String attachment;
    @Field("InitiatorType")
    private String initiatorType;
    @Field("Picture")
    private String picture;
    @Field("Time")
    private LocalDateTime Time;
    @Field("IsDeleted")
    private Integer isDeleted;
    @Field("Type")
    private String type;
}
